#ifndef DICT_H
#define DICT_H
#include "ListAsoc.h"
#include "bool.h"
#define DefLength 100

typedef char Word[20];
typedef struct{
	char s[DefLength];
} Def;

typedef struct{
int tam;
ListAsoc la;
} Dict;

Dict dict_empty(void);
Dict dict_add(Dict d, Word w, Def f);
bool dict_exists(Dict d, Word w);
Def dict_search(Dict d,Word w);
Dict dict_del(Dict d, Word w);
void dict_print(Dict d);
int dict_size(Dict d);
void print_def(Def f);
Def get_def(Def f);



#endif
